hysop.backend.hardware.hwinfo module

class hysop.backend.hardware.hwinfo.HardwareStatistics[source]

Bases: object

abstract to_string(indent=0, increment=2)[source]
class hysop.backend.hardware.hwinfo.Topology(parent, topo, pciids)[source]

Bases: TopologyObject

has_cuda()[source]
has_opencl()[source]
host_stats()[source]
machine()[source]
classmethod parse(pciids=None, override_cache=False)[source]
class hysop.backend.hardware.hwinfo.TopologyObject(parent, element, pciids=None)[source]

Bases: object

XML parser base to parse lstopo (hardware info) xml output. See hwloc(7) and lstopo(1) man.

all_cpu_set()[source]
attribute(name, default=None, cast=<function TopologyObject.<lambda>>)[source]
attributes()[source]
cpu_mask()[source]
cpu_set()[source]
full_cpu_set()[source]
indent(string, extra_spaces=0)[source]
os_index()[source]
pop_attr(name)[source]
print_attributes()[source]
update_attributes(attr)[source]
class hysop.backend.hardware.hwinfo.TopologyStatistics(topo=None)[source]

Bases: HardwareStatistics

to_string(indent=0, increment=0)[source]